import Home from '@/view/home/home'
import homeRouter from './home-router'
const routes = [{
  path: '/',
  name: 'Home',
  redirect: '/about',
  component: Home,
  children: [...homeRouter]
},
{
  path: '/login',
  name: 'login',
  component: () => import('@/view/login/login')
},
{
  path: '/test',
  name: 'test',
  component: () => import('@/view/ui/table')
},
{
  path: '/vant',
  name: 'test',
  component: () => import('@/view/ui/vant')
},
{
  redirect: '/404',
  path: '*',
},
]
export default routes
